
*{
    color: #ffffff;
/*ridge cresta*/
}

body{
    margin: 20px;
    background-image: url(imagenes/fondo\ portfolio.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: overlay;

}
    /*background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: overlay;*/



.presentacion{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nombre{
    width: 350px;
    height: 90px;
    text-align: center;
    margin-top: 10px;
    position: relative;
    background-position: center;
}

.imagen-cv{
    width: 250px;           
    height: 300px;          
    background-image: url('imagenes/foto\ cv.jpg');
    background-size: cover; 
    background-position: center;
    border-radius: 50%;     
    border: 3px solid white;
    margin: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    margin-left: 40px;
    margin-bottom: 40px;
}

.text{
    display: flex;
}

.soy{
    width: 100%;
    height: 400px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-right: 50px;
    border: 3px groove white;
    background-color: black;
}

.center{
    display: flex;
    text-align: center;
    height: 400px;
    border: 3px groove rgb(255, 255, 255);
    background-color: black;
}

.nav{
    width: 320px;
    text-align: center;
    margin-top: 30px;
    margin-right: 30px;
    margin-left: 20px;
}

.certificates{
    font-size: 20px;
    font-family: sans-serif;
}

article{
    display: flex;
    margin-top: 30px;
}

.article {
    width: 1000px;
    height: 300px;
}

.skillsme,
.education {
    flex: 1;
    height: 100px;
    margin-left: 50px;
}

.textskillsme,
.texteducation {
    font-size: 20px;
    font-family: sans-serif;
}

.textskill{
    text-align: center;
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 0px;
    border: 3px groove rgb(255, 255, 255);
    background-color: black;
}

.skills {
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-wrap: wrap;     /* Para que las 6 imágenes se acomoden */
    gap: 20px;           
    min-height: 300px;
    background-color: black;
}

.CS {
    position: relative;  
    width: 200px;        
    height: 200px;       
    overflow: hidden;    
    border: 2px solid rgb(255, 255, 255);
    box-sizing: border-box;
}

.CS::before {
    content: "";
    position: absolute;  
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background-image: url('imagenes/ciberseguridad.jpg'); 
    background-size: cover; 
    background-position: center;
    filter: blur(10px);
    transition: filter 0.5s ease, transform 0.8s ease;
    z-index: 1;
}

.textCS {
    position: absolute;
    z-index: 2;         
    color: white;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    font-family: sans-serif;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%;        
    pointer-events: none; 
    transition: all 0.5s ease;
    background: none;         
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.CS:hover::before {
    filter: blur(0px);
    transform: scale(1.2);
}

.CS:hover .textc {
    opacity: 0; 
    transform: translate(-50%, -60%); 
}

.html {
    position: relative;  
    width: 200px;        
    height: 200px;       
    overflow: hidden;    
    border: 2px solid rgb(255, 255, 255);
    box-sizing: border-box;
}

.html::before {
    content: "";
    position: absolute;  
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background-image: url('imagenes/HTML\ Y\ CSS.jpg'); 
    background-size: cover; 
    background-position: center;
    filter: blur(10px);
    transition: filter 0.5s ease, transform 0.8s ease;
    z-index: 1;
}

.texth {
    position: absolute;
    z-index: 2;         
    color: white;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    font-family: sans-serif;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%;        
    pointer-events: none; 
    transition: all 0.5s ease;
    background: none;         
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.html:hover::before {
    filter: blur(0px);
    transform: scale(1.2);
}

.html:hover .texth {
    opacity: 0; 
    transform: translate(-50%, -60%); 
}

.java {
    position: relative;  /* ANCLA para el texto y el fondo */
    width: 200px;        
    height: 200px;       
    overflow: hidden;    
    border: 2px solid rgb(255, 255, 255);
    box-sizing: border-box;
}

.java::before {
    content: "";
    position: absolute;  
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background-image: url('imagenes/java.png'); 
    background-size: cover; 
    background-position: center;
    filter: blur(10px);
    transition: filter 0.5s ease, transform 0.8s ease;
    z-index: 1;
}

.textj {
    position: absolute;
    z-index: 2;         /* Por encima del fondo */
    color: white;
    text-align: center;
    font-size: 28px;
    font-weight: bold; /*negrilla o resaltado del texto*/
    font-family: sans-serif;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); /* Centrado perfecto */
    width: 100%;        
    pointer-events: none; /* Permite que el mouse active el hover del fondo */
    transition: all 0.5s ease;
    background: none;         
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.java:hover::before {
    filter: blur(0px);
    transform: scale(1.2);
}

.java:hover .textj {
    opacity: 0; /* Opcional: desaparece el texto al enfocar la imagen */
    transform: translate(-50%, -60%); 
}

.javascript {
    position: relative;  
    width: 200px;        
    height: 200px;       
    overflow: hidden;    
    border: 2px solid rgb(255, 255, 255);
    box-sizing: border-box;
}

.javascript::before {
    content: "";
    position: absolute;  
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background-image: url('imagenes/javascript.png'); 
    background-size: cover; 
    background-position: center;
    filter: blur(10px);
    transition: filter 0.5s ease, transform 0.8s ease;
    z-index: 1;
}

.textjs {
    position: absolute;
    z-index: 2;         
    color: white;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    font-family: sans-serif;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%;        
    pointer-events: none; 
    transition: all 0.5s ease;
    background: none;         
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.javascript:hover::before {
    filter: blur(0px);
    transform: scale(1.2);
}

.javascript:hover .textjs {
    opacity: 0; 
    transform: translate(-50%, -60%); 
}

.python {
    position: relative;  
    width: 200px;        
    height: 200px;       
    overflow: hidden;    
    border: 2px solid rgb(255, 255, 255);
    box-sizing: border-box;
}

.python::before {
    content: "";
    position: absolute;  
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background-image: url('imagenes/python.png'); 
    background-size: cover; 
    background-position: center;
    filter: blur(10px);
    transition: filter 0.5s ease, transform 0.8s ease;
    z-index: 1;
}

.textp {
    position: absolute;
    z-index: 2;         
    color: white;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    font-family: sans-serif;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%;        
    pointer-events: none; 
    transition: all 0.5s ease;
    background: none;         
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.python:hover::before {
    filter: blur(0px);
    transform: scale(1.2);
}

.python:hover .textp {
    opacity: 0; 
    transform: translate(-50%, -60%); 
}

.nodejs {
    position: relative;  
    width: 200px;        
    height: 200px;       
    overflow: hidden;    
    border: 2px solid rgb(255, 255, 255);
    box-sizing: border-box;
}

.nodejs::before {
    content: "";
    position: absolute;  
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background-image: url('imagenes/nodejs.png'); 
    background-size: cover; 
    background-position: center;
    filter: blur(10px);
    transition: filter 0.5s ease, transform 0.8s ease;
    z-index: 1;
}

.textn {
    position: absolute;
    z-index: 2;        
    color: white;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    font-family: sans-serif;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100%;        
    pointer-events: none; 
    transition: all 0.5s ease;
    background: none;         
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.nodejs:hover::before {
    filter: blur(0px);
    transform: scale(1.2);
}

.nodejs:hover .textn {
    opacity: 0; 
    transform: translate(-50%, -60%); 
}

.textcontact{
    text-align: center;
    font-size: 30px;
    margin-bottom: 0px;
    border: 3px groove rgb(255, 255, 255);
    background-color: black;
}

.info{
    display: flex;
    text-align: center;
    background-color: black;
}

.mail{
    text-align: center;
    font-size: 20px;
    font-family: sans-serif;
    box-sizing: border-box;
    width: 500px;
    height: 150px;
    border: 3px groove rgb(255, 255, 255);
    background-color: black;
    margin-top: 30px;
}

.linkedin{
    text-align: center;
    font-size: 20px;
    font-family: sans-serif;
    box-sizing: border-box;
    width: 500px;
    height: 150px;
    border: 3px groove rgb(255, 255, 255);
    background-color: black;
    margin-top: 30px;
}

.phone{
    text-align: center;
    font-size: 20px;
    font-family: sans-serif;
    box-sizing: border-box;
    width: 500px;
    height: 150px;
    border: 3px groove rgb(255, 255, 255);
    background-color: black;
    margin-top: 30px;
}

.github{
    text-align: center;
    font-size: 20px;
    font-family: sans-serif;
    box-sizing: border-box;
    width: 500px;
    height: 150px;
    border: 3px groove rgb(255, 255, 255);
    background-color: black;
    margin-top: 30px;
}


